]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keybindings: Remove pause-resume-tweens shortcut
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 21 Jul 2018 03:49:20 +0000 (05:49 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 7 Aug 2019 16:40:49 +0000 (18:40 +0200)
It is no longer useful since we replaced Tweener.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/669

data/org.gnome.shell.gschema.xml.in
js/ui/windowManager.js

index 9c3e42c944dc70da5ec1a63183283d3c64ea5cf7..d5f3271831294aa80d769b1e26f88d7cd111e119 100644 (file)
         Keybinding to focus the active notification.
       </description>
     </key>
-    <key name="pause-resume-tweens" type="as">
-      <default>[]</default>
-      <summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary>
-      <description></description>
-    </key>
     <key name="switch-to-application-1" type="as">
       <default>["&lt;Super&gt;1"]</default>
       <summary>Switch to application 1</summary>
index c6eb3735210d79344380dc7491f262e9eceb6ec6..346485ffdbae8ee788755f9cfb848704241a7aba 100644 (file)
@@ -932,12 +932,6 @@ var WindowManager = class {
                                         Shell.ActionMode.OVERVIEW,
                                         this._startSwitcher.bind(this));
 
-        this.addKeybinding('pause-resume-tweens',
-                           new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
-                           Meta.KeyBindingFlags.NONE,
-                           Shell.ActionMode.ALL,
-                           this._toggleTweens.bind(this));
-
         this.addKeybinding('open-application-menu',
                            new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
                            Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
@@ -2089,15 +2083,6 @@ var WindowManager = class {
         Main.panel.toggleCalendar();
     }
 
-    _toggleTweens() {
-        this._tweensPaused = !this._tweensPaused;
-        const OrigTweener = imports.tweener.tweener;
-        if (this._tweensPaused)
-            OrigTweener.pauseAllTweens();
-        else
-            OrigTweener.resumeAllTweens();
-    }
-
     _showWorkspaceSwitcher(display, window, binding) {
         let workspaceManager = display.get_workspace_manager();